package com.itheima.case2.dao;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;

public interface UserRoleMapper {
    @Delete("delete from t_user_role where user_id=#{uid}")
    void deleteDataByUID(@Param("uid")int parseInt);
    @Insert("insert into t_user_role values(#{uid},#{rid})")
    void addUserIdandRoleId(@Param("uid") int parseInt, @Param("rid")int parseInt1);
}
